package com.lagou.sqlsession;

import com.lagou.pojo.Configuration;
import com.lagou.pojo.MappedStatement;

import java.util.List;

public interface Executor {
    public <E> List<E> query(Configuration configuration, MappedStatement mappedStatement, Object... param)
            throws Exception;

    public Boolean update(Configuration configuration, MappedStatement mappedStatement, Object... param)
            throws Exception;
}
